<!-- #include file="Config.asp"-->
<!--#include file="emp_is.asp"-->
<!--#include file="Header.asp"-->


<table class="table">
<tr>
    <th>LoginUserName</th>
    <th>IP</th>
    <th>Time</th>
</tr>
<%
sql="select  * from emp_logrecord order by id desc"
rs.open sql,conn,1,1
rcount=rs.recordcount
if pmcount="" or isempty(pmcount) or pmcount<1 then
pmcount=page_num_max_per*2
end if
rs.pagesize=pmcount   	'设置每页数
mpage=rs.pagecount    	'得到总页数
pageno=request("pageno")
if isempty(pageno) or cint(pageno)<1 or cint(pageno)>mpage then
	pageno=1
end if
if rcount<>0 then
rs.absolutepage=pageno	'将指针移至指定页的第一条记录
end if
loopno=pmcount
do while not rs.eof and loopno>0%>
<tr bgcolor=#ffffff>
    <td ><%=rs("Username")%></td>
    <td><%=rs("loginIP")%></td>
    <td><%=WeekDayName(weekday(rs("logintime")))%>，<%=rs("logintime")%></td>
</tr>
<%
rs.movenext
loopno=loopno-1
loop
rs.close
%>
<TR>
<TD colspan=10>
<%showpage()%>
</td>
</TR>
</TABLE>

<!--#include file="Footer.asp" -->

